<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->

<head>
    <meta charset="utf-8">
    <title><?php echo $this->ts_functions->getlanguage($name_of_page,'title','solo'); ?></title>
    <meta content="<?php echo $this->ts_functions->getsettings('sitetitle','text');?>" property="og:title">

	<meta content="website" property="og:type">

	<meta content="<?php echo $basepath;?>" property="og:url">
	<meta content="<?php echo $this->ts_functions->getsettings('logo','url');?>" property="og:image">
	<meta content="<?php echo $this->ts_functions->getsettings('seodescr','text');?>" property="og:description">

	<meta content="<?php echo $this->ts_functions->getsettings('sitename','text');?>" property="og:site_name">

	<meta name="description"  content="<?php echo $this->ts_functions->getsettings('seodescr','text');?>"/>
	<meta name="keywords" content="<?php echo $this->ts_functions->getsettings('metatags','text');?>">
	<meta name="author" content="<?php echo $this->ts_functions->getsettings('siteauthor','text');?>"/>
	<meta name="MobileOptimized" content="320">
    
	<!--srart theme style -->
    <link href="<?php echo $basepath;?>themes/themeone/css/bootstrap.css" rel="stylesheet" type="text/css">
    <link href="<?php echo $basepath;?>themes/themeone/css/font-awesome.css" rel="stylesheet" type="text/css">
    <link href="<?php echo $basepath;?>themes/themeone/css/flaticon.css" rel="stylesheet" type="text/css">
    <link href="<?php echo $basepath;?>themes/themeone/css/animate.css" rel="stylesheet" type="text/css">
    <link href="<?php echo $basepath;?>themes/themeone/css/fonts.css" rel="stylesheet" type="text/css">
    <link href="<?php echo $basepath;?>themes/themeone/css/style.css?<?php echo date('his'); ?>" rel="stylesheet" type="text/css">
	<link href="<?php echo $basepath;?>themes/themeone/css/responsive.css?<?php echo date('his'); ?>" rel="stylesheet" type="text/css">
	<link href="<?php echo $basepath;?>themes/themeone/css/color.css?<?php echo date('his'); ?>" rel="stylesheet" type="text/css">
    <!-- end theme style -->
    <!-- favicon links -->
   <link rel="shortcut icon" type="image/png" href="<?php echo $this->ts_functions->getsettings('favicon','url');?>" />
</head>

<!-- Header End -->
<body <?php echo $this->ts_functions->getsettings('rtlswitch','checkbox') == '1' ? 'class="rtl"' : '' ; ?>>

<!--Preloader Start-->
<div id="preloader" class="hide">
  <div id="status">
  	<img src="<?php echo $this->ts_functions->getsettings('preloader','url');?>" alt="loading" />
  </div>
</div>
<!--Preloader End-->

<!--Message Popup Start-->
<?php if(isset($this->session->userdata['ts_loginstatus'])) { ?>
<div class="ts_message_popup ts_popup_error">
  <p class="ts_message_popup_text">
  <?php echo $this->session->userdata['ts_loginstatus'] == 'Inactive' ? $this->ts_functions->getlanguage('activateerror','message','solo') : $this->ts_functions->getlanguage('blockederror','message','solo') ; ?>
  </p>
</div>
<?php } else { ?>
<div class="ts_message_popup ">
  <p class="ts_message_popup_text">

  </p>
</div>
<?php } ?>
<!--Message Popup End-->

<script>
function open_window(url){
    var w = 880, h = 600,
        left = Number((screen.width/2)-(w/2)), tops = Number((screen.height/2)-(h/2)),
        popupWindow = window.open(url, '', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=1, copyhistory=no, width='+w+', height='+h+', top='+tops+', left='+left);
    popupWindow.focus(); return false;
}
</script>
<div class="tp_login_wrapper">
	<div class="tp_background_img">
		<img src="<?php echo base_url().'themes/themeone';?>/images/bg4.jpg" class="img-responsive" alt="">
	</div>
	<div class="tp_login_inner_wrapper">
		<div class="container">
			<div class="row">
				<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-2 col-md-offset-2">
					<div class="tp_contact_div">
						<div class="tp_formdata">
							<img src="<?php echo $this->ts_functions->getsettings('logo','url');?>" class="img-responsive" alt="">
							<div class="tp_social_link">
								<?php if( $this->ts_functions->getsettings('facebook','status') == '1' ) { ?>
								<span class="tp_fb"><a onclick="open_window('<?php echo $basepath;?>authenticate/facebooklogin');"><i class="fa fa-facebook"></i> <?php echo $this->ts_functions->getlanguage('fbtext','authentication','solo');?></a></span>
								<?php } if( $this->ts_functions->getsettings('google','status') == '1' ) { ?>
								<span class="tp_gp"><a onclick="open_window('<?php echo $basepath;?>authenticate/googlelogin');" ><i class="fa fa-google-plus"></i> <?php echo $this->ts_functions->getlanguage('googletext','authentication','solo');?></a></span>
								<?php } ?>
							</div>
						</div>